<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
		<meta charset="UTF-8">
		<title>我的博客</title>
		<link rel="stylesheet" href="../../../static/layui/css/layui.css" th:href="@{/layui/css/layui.css}"/>
		<link rel="stylesheet" type="text/css" href="../../../static/layui/css/common.css" th:href="@{/layui/css/common.css}"/>
		<link rel="stylesheet" type="text/css" href="../../../static/layui/css/usercss/userexh.css" th:href="@{/layui/css/usercss/userexh.css}"/>
	</head>
	<body>
	<!-- 公共头部 -->
	<div th:replace="FrontPages/common/head::head(n=5)" name="headFrame"></div>
		<div class="user-index">

			<!-- 右侧标签片 -->
			<div class="ifra_tip">
				<!-- 个人标签页 -->
				<!--<iframe src="../common/user_tip.html" width="255px" ; height="305px" frameborder="0" scrolling="no" name="userFrame"></iframe>-->
				<!-- 广告 -->
				<!--<iframe src="../common/adv1.html" width="255px" ; height="255px" frameborder="0" scrolling="no" name="userFrame"></iframe>-->
				<div th:replace="FrontPages/common/user_tip::usertip(user=${user1})" ></div>
				<div th:replace="FrontPages/common/adv1::adv1" ></div>
			</div>

			<!-- 中间内容 -->
			<div class="userex-main-menu">
				<div class="userex-head" style="display: none">
					<span>排序方式:</span>
					<ul class="userex-ul">
						<li class="active">默认</li>
						<li>按时间</li>
						<li>按收藏量</li>
					</ul>
				</div>

				<div class="userex-contents">
					<input th:id="count" type="hidden" th:value="${count}">
					<ul class="userex-items">
						<li th:each="blog,blogstat:${blogs}" th:if="${blogstat.index} lt 7">
							<div class="userex-item">
								<a th:text="${blog.title}" th:href="@{'/Blog/blogdetail/'+${blog.bid}}">你还没有发布任何内容哦</a>
								<div th:class="userex-con" th:utext="${blog.content}">暂无内容</div>
								<div class="status">
									<span>
										<b class="collection-line" th:text="${blog.date}">2018-04-12 12:45</b>
									</span>
									<em class="lline"></em>
									<span>阅读数</span>
									<span class="userex-num" th:text="${blog.browseNumber}?:0">66</span>
									<em class="lline"></em>
									<span>收藏数</span>
									<span class="userex-num" th:text="${blog.collectionNumber}?:0">66</span>
								</div>
								<div class="operation">
									<!--<span>置顶</span>-->
									<!--<em class="lline"></em>-->
									<!--<span>编辑</span>-->
									<!--<em class="lline"></em>-->
									<span onclick="del(this);" th:if="${user1.id==session.user.id}" th:value="${blog.bid}">删除</span>
								</div>
							</div>
						</li>
					</ul>
					<div id="blog-list"></div>
				</div>
				<div class="nothing">
					<div class="nothing-tips">
						<i class="layui-icon">&#xe61c;</i>
						<p>你还没有发布任何内容哦!!!</p>
					</div>
				</div>
			</div>
			<div style="clear: both"></div>

		</div>
		<!-- 公共尾部 -->
		<div th:replace="FrontPages/common/bottom::bottom" name="bottomFrame"></div>

		<script type="text/jscript" src="../../../static/layui/layui.js" th:src="@{/layui/layui.js}"></script>
		<!-- <script type="text/jscript" src="../../../static/layui/lay/js/user.js"></script> -->
		<script type="text/jscript" src="../../../static/layui/lay/js/userexh.js" th:src="@{/layui/lay/js/userexh.js}"></script>

		<!-- 背景特效 -->
		<script src="../../../static/layui/lineEffects.js" th:src="@{/layui/lineEffects.js}"></script>
	</body>
</html>
